#include <work_queue.hpp>
#include <work_queue_utils.hpp>

WorkQueue::WorkQueue(int priority)
	: m_Priority(priority)
	, m_Tk(0)
{
}

WorkQueue::~WorkQueue()
{
}

void WorkQueue::Start(void* arg)
{
	m_Arg = arg;
	WorkQueueUtils::Instance()->Append(m_Priority, this);
}